<?php

class ModifyPostForm extends MForm {

    public function  __construct() {

        parent::__construct(__route('ml-forum/topics/modify'));
        $this->setMethod(self::METHOD_POST);
        $this->setEnctype(self::ENCTYPE_DATA);
        $this->add(self::ELEMENT_TEXTAREA, 'message')
                ->setId('modifyTextarea')
                ->setHtmlOption('ROWS', '15')
                ->setHtmlOption('COLS', '110');
        $this->add(self::ELEMENT_SUBMIT, 'modify')
                ->setValue('Modify');
    }

}

?>